/***************************************************************************
 *   This file is a part of match.                               *
 *   Copyright (C) 2009 by ntcong.it							           *
 *   ntcong.it@gmail.com                                                   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 3 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *  You should have received a copy of the GNU General Public License      * 
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>   *             *
 ***************************************************************************/

#ifndef MATCH_H_
#define MATCH_H_
#include "db\SurfDB.h"
#include "db\ImageDef.h"

class Match {
public:
	Match();
	Match( const char*, const char* );//Default constructor, provide the file name for surf and image db
	void loadSurf( const char* );//Load a new surf file
	void loadImgDef( const char* );//Load a new img def

	void compare( char* );//Compare the image with the database list.
	void check( char* );//fixme:return id or part<id,pose>

	virtual ~Match();
private:
	SurfDB surf_data;
	ImageDef img_data;
};

#endif /* MATCH_H_ */
